package com.tebiecloud.order.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 预约商品表
 * @author tebie
 * @date 2019-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ReserveGoods extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "reserve_goods_id", type = IdType.ID_WORKER)
    private Long reserveGoodsId;

    /**
     * 预约id
     */
    private Long reserveId;

    /**
     * 门店id
     */
    private Long storeId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 规格id
     */
    private Long goodsSpecificationId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 规格名称
     */
    private String specificationName;

    /**
     * 商品图片
     */
    private String goodsPic;

    /**
     * 商品单价
     */
    private Integer goodsPrice;

    /**
     * 数量
     */
    private Integer amount;

    /**
     * 服务时长（单位：分钟）
     */
    private Integer serviceTime;

    /**
     * 总价
     */
    private Integer totalPrice;

}
